package com.dpj.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dpj.seckill.pojo.SeckillOrder;
import com.dpj.seckill.pojo.TUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-07-05
 */
public interface SeckillOrderService extends IService<SeckillOrder> {

    //获取秒杀结果  orderId:成功，-1:秒杀失败,0:排队中
    Long getResult(TUser user, Long goodsId);
}
